
<table class="list">
<tr class="head">
	<td>标题</td>
	<td>发表于</td>
	<td>分类</td>
	<td>&nbsp;</td>
</tr>
<?php if($list) foreach($list as $art){ ?>
<tr class="body">
	<td><a href="<?php echo url('article-read/id/'.$art['aid']);?>"><?php echo $art['title'];?></a></td>
	<td><?php echo date('Y/m/d H:i', $art['pubtime']);?></td>
	<td><?php echo $art['cateid'];?></td>
	<td width='60'>
		<a href="<?php echo url('article-modify/id/'.$art['aid']);?>">编辑</a>
		删除
	</td>
</tr>
<?php } ?>
<tr class="foot">
	<td colspan=4>
		<input type="button" value="新建" onclick="location.href='<?php echo url('article-add')?>'" />
	</td>
</tr>
</table>
